
package com.zsrt.day20170419.ch01;

public class Car implements Daibugongju{

	private int x;
	
	private int y;
	
	
	/**
	 * @return the x
	 */
	public int getX() {
		return x;
	}


	/**
	 * @param x the x to set
	 */
	public void setX(int x) {
		this.x = x;
	}


	/**
	 * @return the y
	 */
	public int getY() {
		return y;
	}


	/**
	 * @param y the y to set
	 */
	public void setY(int y) {
		this.y = y;
	}


	@Override
	public void daibu() {
		
		
		System.out.println("我用小汽车代步...");
	}


}
